﻿using System.ComponentModel.DataAnnotations;

namespace B.X.Rabbit.Read.Api.DTO
{
    /// <summary>
    /// 
    /// </summary>
    public class QueryDto
    {

        /// <summary>
        /// 溯源信息Id
        /// </summary>
        public int TraceabilityId { get; set; }
        /// <summary>
        /// 商品Id
        /// </summary>
        public int GoodsId { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string? GoodName { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string? ProductionBatch { get; set; }
        /// <summary>
        /// 保质期(天)
        /// </summary>
        public int ExpirationDate { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string? ProductionLicense { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string? ProductionEnterprise { get; set; }
        /// <summary>
        /// 创建人名称
        /// </summary>
        public string? CreateOperatorName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate { get; set; } = DateTime.Now;
        /// <summary>
        /// 修改人姓名
        /// </summary>
        public string? ModifyOperatorName { get; set; }


    }
}
